/*
 * Creation : 12/09/2013
 */
/**
 * 
 */
package com.japcatalog.model;

import java.io.Serializable;
import java.util.Collection;

/**
 * Class that models catalog model.
 * 
 * @author Fernando Ariel Perelli.
 * 
 */
public class Model implements Serializable {

	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = -7101944009834223427L;

	/** The model id. */
	private Long modelId;

	/** The catalog objects. */
	private Collection<CatalogObject> catalogObjects;

	/** The model name. */
	private String modelName;

	/** The model version. */
	private String modelVersion;

	/** The model description. */
	private String modelDescription;

	/** The trade mark. */
	private Trademark tradeMark;

	public Model() {
	}

	/**
	 * Gets the model id.
	 * 
	 * @return the model id
	 */
	public Long getModelId() {
		return modelId;
	}

	/**
	 * Gets the catalog objects.
	 * 
	 * @return the catalog objects
	 */
	public Collection<CatalogObject> getCatalogObjects() {
		return catalogObjects;
	}

	/**
	 * Sets the catalog objects.
	 * 
	 * @param catalogObjects
	 *            the new catalog objects
	 */
	public void setCatalogObjects(Collection<CatalogObject> catalogObjects) {
		this.catalogObjects = catalogObjects;
	}

	/**
	 * Sets the model id.
	 * 
	 * @param modelId
	 *            the model id
	 */
	public void setModelId(Long modelId) {
		this.modelId = modelId;
	}

	/**
	 * Gets the model name.
	 * 
	 * @return the model name
	 */
	public String getModelName() {
		return modelName;
	}

	/**
	 * Sets the model name.
	 * 
	 * @param modelName
	 *            the model name
	 */
	public void setModelName(String modelName) {
		this.modelName = modelName;
	}

	/**
	 * Gets the model version.
	 * 
	 * @return the model version
	 */
	public String getModelVersion() {
		return modelVersion;
	}

	/**
	 * Sets the model version.
	 * 
	 * @param modelVersion
	 *            the model version
	 */
	public void setModelVersion(String modelVersion) {
		this.modelVersion = modelVersion;
	}

	/**
	 * Gets the model description.
	 * 
	 * @return the model description
	 */
	public String getModelDescription() {
		return modelDescription;
	}

	/**
	 * Sets the model description.
	 * 
	 * @param modelDescription
	 *            the model description
	 */
	public void setModelDescription(String modelDescription) {
		this.modelDescription = modelDescription;
	}

	/**
	 * Gets the trade mark.
	 * 
	 * @return the trade mark
	 */
	public Trademark getTradeMark() {
		return tradeMark;
	}

	/**
	 * Sets the trade mark.
	 * 
	 * @param tradeMark
	 *            the trade mark
	 */
	public void setTradeMark(Trademark tradeMark) {
		this.tradeMark = tradeMark;
	}

}
